﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="VendorManage.aspx.cs" Inherits="ProductManage_RFProductManage_Manage_VendorManage" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div>
    <div>
        <br />
        腔体供应商列表：        
    </div>
    <div style="text-align:center ;">        
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="3" GridLines="None" DataKeyNames="VendorID,VendorName" 
        BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" 
            CellSpacing="1" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" 
        PageSize="20" Width="100%" OnRowDataBound="GridView1_RowDataBound" 
            OnRowDeleting="GridView1_RowDeleting" onrowcommand="GridView1_RowCommand" >
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <Columns>
                <asp:BoundField DataField="VendorID" HeaderText="腔体供应商代码" />
                <asp:BoundField DataField="VendorName" HeaderText="腔体供应商名称" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                <asp:ButtonField CommandName="Insert" HeaderText="新增" Text="新增" />
            </Columns>
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <EmptyDataTemplate>
                <asp:DetailsView ID="DetailsView1" runat="server" 
                    AutoGenerateInsertButton="True" AutoGenerateRows="False" BackColor="White" 
                    BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" 
                    CellSpacing="1" DefaultMode="Insert" GridLines="None" Height="50px" 
                    oniteminserting="DetailsView1_ItemInserting" 
                    onmodechanging="DetailsView1_ModeChanging" >
                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                    <Fields>
                        <asp:BoundField DataField="VendorID" HeaderText="腔体供应商代码" />
                        <asp:BoundField DataField="VendorName" HeaderText="腔体供应商名称" />
                    </Fields>
                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    <EditRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                </asp:DetailsView>
            </EmptyDataTemplate>
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
        <br />        
    </div>
    <br />
    <br />
    </div> 
    </ContentTemplate> 
    </asp:UpdatePanel>     
</asp:Content>

